package com.rd.student.jiaji.class4.suyan.zrrd.day04;

public class Demo09 {
    public static void main(String[] args) {
        int result=0;
        int i=1;//初始化变量-控制转换的次数
        while (i<=100){
                result=result+i;
                i++;
        }
        System.out.println(result);
    }
}
